#include "Enemigo.h"
//=============================================================================
Enemigo::Enemigo() {
     Type = 	ENTITY_TYPE_ENEMY;
}
//=============================================================================
/*bool Enemigo::OnLoad(char* File, int Width, int Height, int MaxFrames) {
    if(CEntity::OnLoad(File, Width, Height, MaxFrames) == false) {
        return false;
    }
    return true;
}
*/
//-----------------------------------------------------------------------------
void Enemigo::OnLoop() {
	CEntity::OnLoop();
}
//-----------------------------------------------------------------------------
void Enemigo::OnRender(SDL_Surface* Surf_Display) {
	CEntity::OnRender(Surf_Display);
}
//------------------------------------------------------------------------------
void Enemigo::OnCleanup() {
	CEntity::OnCleanup();
}
//------------------------------------------------------------------------------
void Enemigo::OnAnimate() {
	if(SpeedX !=0 || SpeedY!=0) {
		Anim_Control.MaxFrames = 6;
	}else{
		Anim_Control.MaxFrames = 0;
	}
	CEntity::OnAnimate();
}
//------------------------------------------------------------------------------
bool Enemigo::OnCollision(CEntity* Entity) {
//    Jump();
    return true;
}
//=============================================================================
